package Test;

public class bite {
    private String name;
    private  double hight;
    public int age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getHight() {
        return hight;
    }

    public void setHight(double hight) {
        this.hight = hight;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }


    public bite(String name, double hight, int age) {
        this.name = name;
        this.hight = hight;
        this.age = age;
    }
    public void eat(){
        System.out.println(this.name + "正在吃午饭");
    }
public class Dog extends bite{
    public Dog(String name, double hight, int age) {
        super(name, hight, age);
    }

    void runk(){

        }


}
    public static void main(String[] args) {
        bite b1 = new bite("小黄",175.0,19);
        b1.eat();

    }

}
